package com.atguigu.gulimall.product.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 属性&属性分组关联
 */
@Data
@TableName("pms_attr_attrgroup_relation")
public class PmsAttrAttrgroupRelationEntity implements Serializable {
	private static final long serialVersionUID = 1L;
	@TableId
	@TableField("id")
	@ApiModelProperty(value = "id")
	private Long id;

	@TableField("attr_id")
	@ApiModelProperty(value = "属性id")
	private Long attrId;

	@TableField("attr_group_id")
	@ApiModelProperty(value = "属性分组id")
	private Long attrGroupId;

	@TableField("attr_sort")
	@ApiModelProperty(value = "属性组内排序")
	private Integer attrSort;
}
